package interfaces;

public class OtherDoor extends AbstractDoor{

	@Override
	public void open() {
		System.out.println("OtherDoor.open()");
	}
	public static void main(String[] args) {
		OtherDoor otherdoor = new OtherDoor();
		otherdoor.close();
		otherdoor.open();
	}
	@Override
	public void close() {
		System.out.println("OtherDoor.close()");
	}

}
